package com.system.api.setting.entity.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.yang.database.orm.entity.BaseDto;


/**
 * 字典词条
 * @author: lslands
 * @description:
 * @version：v1.0
 * @date: 2024/6/1 13:17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class DictItemFormDto extends BaseDto {


    /**
     * 关联目录编码
     * @mock enabled
     *  @required
     */
    private String dictCode;

    /**
     * 键
     * @mock 开启
     * @required
     */
    private String label;

    /**
     * 值
     * @mock 1
     * @required
     */
    private String value;

    /**
     * 类型(null | success | danger | info | primary | warning)
     * @mock success
     */
    private String type;

    /**
     * 数据类型(0/int;1/String)
     * @mock 0
     */
    private Integer scope;

    /**
     * 是否默认
     * @mock false
     */
    private Boolean defaulted;

}
